
export class FrameData{

    private result : any;
    private resultCode:number;

    constructor() {
    }

    get data(): any {
        return this.result;
    }

    get code():number{
        return this.resultCode;
    }

    set code(value:number){
        this.resultCode = value;
    }

    set data(value: any) {
        this.result = value;
    }
}

export const dataKey = {
    null_data : "null_data",
    array : "array",
    structure : "structure",
    bool : "bool",
    bit_string : " bit_string",
    double_long : "double_long",
    double_long_unsigned : "double_long_unsigned",
    octet_string : "octet_string",
    visible_string : "visible_string",
    utf8_string : "UTF8_string",
    integer : "integer",
    long : "long",
    unsigned : "unsigned",
    long_unsigned : "long_unsigned",
    long64 : "long64",
    long64_unsigned : "long64_unsigned",
    enum_key : "enum",
    float32 : "float32",
    float64 : "float64",
    date_time : "date_time",
    date : "date",
    time : "time",
    date_time_s : "date_time_s",
    oi : "OI",
    oad : "OAD",
    road : "ROAD",
    omd : "OMD",
    ti : "TI",
    tsa : "TSA",
    mac : "MAC",
    rn : "RN",
    region : "Region",
    scaler_unit : "Scaler_Unit",
    rsd : "RSD",
    csd : "CSD",
    ms : "MS",
    sid : "SID",
    sid_mac : "SID_MAC",
    comdcb : "COMDCB",
    rcsd : "RCSD",
}



